package com.xy.cloud;

import cn.dev33.satoken.SaManager;
import com.xy.cloud.annotation.EnableCustomSwagger2;
import com.xy.submit.annotations.ExcludeRepeatSubmit;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@MapperScan(basePackages = {"com.xy.cloud.mapper"})
@EnableCustomSwagger2
@SpringBootApplication
@EnableFeignClients
//@ExcludeRepeatSubmit
public class XyAuthApplication {



    public static void main(String[] args)
    {
        SpringApplication.run(XyAuthApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  系统模块启动成功   ლ(´ڡ`ლ)ﾞ  \n" +
               " swagger地址 /swagger-ui/index.html");
        System.out.println("启动成功：Sa-Token配置如下：" + SaManager.getConfig());
    }
}
